package com.gt.wxpay.cashier.domain.dto;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * packageName com.gt.wxpay.cashier.domain.dto
 *
 * @author GuoTong
 * @version JDK 8
 * @className QueryRefundDto
 * @date 2024/3/20
 * @description 业务系统主动发起发起退款的订单查询退款状态。 响应body
 */
public class QueryRefundDto implements Serializable {

    /**
     * 收银台退款订单号
     */
    private String refundNo;

    /**
     * 退款成功时间，格式为：yyyy-MM-dd HH:mm:ss
     */
    private LocalDateTime refundTime;

    /**
     * 退款单创建时间
     */
    private LocalDateTime createTime;


    /**
     * 1-SUCCESS: 退款成功
     * 2-CLOSED: 退款关闭
     * 3-PROCESSING: 退款处理中
     * 4-ABNORMAL: 退款异常
     */
    private Integer status;


    /**
     * 退款金额，单位为分。
     */
    private Long refundAmount;

    /**
     * 支付订单金额。
     */
    private Long amount;


    public String getRefundNo() {
        return refundNo;
    }

    public void setRefundNo(String refundNo) {
        this.refundNo = refundNo;
    }

    public LocalDateTime getRefundTime() {
        return refundTime;
    }

    public void setRefundTime(LocalDateTime refundTime) {
        this.refundTime = refundTime;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getRefundAmount() {
        return refundAmount;
    }

    public void setRefundAmount(Long refundAmount) {
        this.refundAmount = refundAmount;
    }

    public Long getAmount() {
        return amount;
    }

    public void setAmount(Long amount) {
        this.amount = amount;
    }
}
